﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Model="clr-namespace:VMDS.GUIClient.Model" xmlns:VMDS_GUIClient_ViewModels="clr-namespace:VMDS.GUIClient.ViewModels" x:Name="window" 
    x:Class="VMDS.GUIClient.Views.VmdsSplashScreen"
    Title="SplashScreen" Height="236" Width="414" WindowStartupLocation="CenterScreen" WindowStyle="None" 
        Background="Orange" BorderBrush="DarkOrange" BorderThickness="3" ShowInTaskbar="False" ResizeMode="NoResize" Topmost="True">
    <Grid x:Name="grid" Background="{x:Null}">
    	<Grid.DataContext>
    		<VMDS_GUIClient_ViewModels:ProductVersionDisplay/>
    	</Grid.DataContext>
        <Label Margin="19,22,17,0" x:Name="label1" FontSize="48" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="MintCream" Content="СУВМ" Height="67" VerticalAlignment="Top">
            <Label.BitmapEffect>
                <OuterGlowBitmapEffect GlowSize="15" />
            </Label.BitmapEffect>
        </Label>
        <Label Height="28" Margin="20,0,150,15" x:Name="label2" VerticalAlignment="Bottom"
               Content="{Binding Message, Source={x:Static Model:MessageListener.Instance}}" Foreground="White"/>
        <ProgressBar Height="18" Margin="32,0,32,52" VerticalAlignment="Bottom" Value="{Binding Progress, Source={x:Static Model:MessageListener.Instance}}"/>
        <Label Margin="20,89,16,0" x:Name="label1_Copy" FontSize="21.333" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="MintCream" Height="34" VerticalAlignment="Top" Content="{Binding Path=Version}">
        	<Label.BitmapEffect>
        		<OuterGlowBitmapEffect GlowSize="15" />
        	</Label.BitmapEffect>
        </Label>
        <Label Height="28" Margin="0,0,8,15" x:Name="label2_Copy" VerticalAlignment="Bottom" Foreground="White" HorizontalAlignment="Right" Width="129" Content="©Marinin Ivan, 2011"/>
    </Grid>
</Window>
